<?php
/*
// +----------------------------------------------------------------------------------------
// | Icoterie Development Framework Intelligence Enterprise Management Priority Selective
// +----------------------------------------------------------------------------------------
// | Copyright (c) [2019] [Honor Full Epoch Educational Science Technology Hebei Co., Ltd.]
// | website  http://dev.icoterie.top http://www.ihfe.top
// +----------------------------------------------------------------------------------------
// | [Icoterie Development Framework] is licensed under the Mulan PSL v2.
// +----------------------------------------------------------------------------------------
// | You can use this software according to the terms and conditions of the Mulan PSL v2.
// +----------------------------------------------------------------------------------------
// | Licensed ( http://license.coscl.org.cn/MulanPSL2 )
// +----------------------------------------------------------------------------------------
// | THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER
// | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR
// | FIT FOR A PARTICULAR PURPOSE.
// +----------------------------------------------------------------------------------------
// | See the Mulan PSL v2 for more details.
// +----------------------------------------------------------------------------------------
// | Author: Reflux Lewse,Red Shadow Sue
// +----------------------------------------------------------------------------------------
*/

/** 
* 调式打印
* @param string	$e 打印数据
*/
function dd($e){
	@ob_clean();
    echo "<pre>";
    print_r($e);
    echo "</pre>";
}
/** 
* 批量包含
* @param string	$f 单个文件或文件夹
* @param array	$f 批量文件或文件夹
*/
function ia($f){
	if(is_array($f)){
		foreach ($f as $v) {
			if(is_dir($v)){
				foreach(glob($v."/*.php") as $d) {
					include_once $d;
				}
			}else if(is_file($v)){
				include_once $v;
			}
		}
	}else if(is_dir($f)){
		foreach(glob($f . "/*.php") as $v) {
			include_once $v;
		}
	}else if(is_file($f)){
		include_once $f;
	} 
}

function ex($d){
	throw new \Exception($d);
	exit;
}
?>